package com.kylin.coder;

import com.kylin.system.SystemApplication;
import com.kylin.system.common.config.Knife4jConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 启动模块
 * 
 * @author wuhao
 */
@EnableAsync
@SpringBootApplication
@MapperScan(basePackages={"com.kylin.system.mapper"})
public class StartApplication
{
    private static Logger log = LoggerFactory.getLogger(StartApplication.class);
    public static void main(String[] args)
    {
        SpringApplication.run(StartApplication.class, args);
        log.info("\n" +
                "(♥◠‿◠)ﾉﾞ  主服务启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                " .-------.       ____     __        \n" +
                " |  _ _   \\      \\   \\   /  /    \n" +
                " | ( ' )  |       \\  _. /  '       \n" +
                " |(_ o _) /        _( )_ .'         \n" +
                " | (_,_).' __  ___(_ o _)'          \n" +
                " |  |\\ \\  |  ||   |(_,_)'         \n" +
                " |  | \\ `'   /|   `-'  /           \n" +
                " |  |  \\    /  \\      /           \n" +
                " ''-'   `'-'    `-..-'              ");
    }
}
